import yaml
from autoTest_ecshop_new.utils.get_path import get_yaml_path
def read_yaml(file_name):
    path = get_yaml_path(file_name)
    with open(path,'r',encoding="utf-8") as f:
        return yaml.safe_load(f)


if __name__ == '__main__':
    print(read_yaml('login.yaml'))